# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=cpptest
pkgver=2.0.0
pkgrel=1
pkgdesc="Portable and powerful unit testing framework for handling automated tests in C++"
url="https://github.com/cpptest/cpptest"
arch="all"
license="LGPL-2.0-or-later"
subpackages="$pkgname-dev"
source="https://github.com/cpptest/cpptest/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"

build() {
	./configure --prefix=/usr
	make
}

check() {
	make check
}

package() {
	make install DESTDIR="$pkgdir"
}

sha512sums="72149e785881b9f2190ff28e74f5edc1056ce1de087fcccf4debbc59818c164907b5374892c7a750552b3c9d25454da0735e3da7902f4e6ef4174bc3b635248c  cpptest-2.0.0.tar.gz"
